
    setInterval(getTime, 1000)
    function getTime() {
        var date = new Date()
        var time = date.toLocaleTimeString()
        var parentTime = time.replace(/:/g, ' : ')
        document.getElementById('time').innerHTML = parentTime
    }
